package entity;

import java.util.Date;

public class OrderInfo {
    private String username;
    private Date orderDate;
    private String orderType;
    private String orderName;
    private int id;
    private double price;
    private int number;

    public OrderInfo(String username, Date orderDate, String orderType, String orderName, int id, double price, int number) {
        this.username = username;
        this.orderDate = orderDate;
        this.orderType = orderType;
        this.orderName = orderName;
        this.id = id;
        this.price = price;
        this.number = number;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "username='" + username + '\'' +
                ", orderDate=" + orderDate +
                ", orderType='" + orderType + '\'' +
                ", orderName='" + orderName + '\'' +
                '}';
    }
}
